﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="goods_batch_select.aspx.cs" Inherits="WebSite.admin.product.goods_batch_select" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>阳澄湖牌 </title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
        parent.maintitle.innerHTML = "商品管理";
        parent.contentmain.innerHTML = "<span class='title01'>所在位置：</span>商品批量修改
    </script>
    <script language='javascript'>
        var path = (window.top.location).toString();
        if (path.indexOf('login.aspx') == -1) {
            if (path.indexOf('index.aspx') == -1) {
                window.top.location = 'index.aspx';
            }
        }
        function SetFileCat(str) {
            if (parseInt(str.value) == 0) {
                type1.style.display = 'none';
                type2.style.display = '';
            }
            if (parseInt(str.value) == 1) {
                type1.style.display = '';
                type2.style.display = 'none';

            } 
        }
	</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <center>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
  <br />
  <table Width="98%" border="0" cellpadding="0" cellspacing="1">
    <tr>
      <td align="right" class="title01" width="20%">选择商品的方式：</td>
      <td align="left">
      <input id="Radio1" name="radios" type="radio" value="0" checked runat="server" onclick="SetFileCat(this)" />根据商品分类、品牌
      <input id="Radio2" name="radios" type="radio" value="1" runat="server" onclick="SetFileCat(this)" />根据商品货号
      </td>
    </tr>
    </table>
    <table Width="98%" border="0" cellpadding="0" cellspacing="1" id="type2" style="display:">
    <tr>
      <td align="right" class="title01" width="20%" style="height: 22px">选择商品分类：</td>
      <td align="left" style="height: 22px"><asp:DropDownList ID="typeid" runat="server">
             <asp:ListItem Text="所有类别" Value="0"></asp:ListItem>
          </asp:DropDownList></td>
    </tr>
    <tr>
      <td align="right" class="title01" width="20%">选择商品品牌：</td>
      <td align="left"><asp:DropDownList ID="propinpai" runat="server">
            <asp:ListItem Value="0">所有品牌</asp:ListItem>
          </asp:DropDownList><asp:ImageButton ID="ImageButton2" ImageUrl="../images/button04.gif" runat="server" OnClick="ImageButton2_Click" /></td>
    </tr>
    <tr>
      <td align="right" valign="top" class="title01"  width="20%">商品列表：</td>
      <td align="left" valign="center"><table width="80%" border="0" cellpadding="3" cellspacing="1">
          <tr>
            <td>待选列表：</td>
            <td valign="center" align="middle"> &nbsp;&nbsp;&nbsp;&nbsp;</td>
            <td>选定列表：</td>
          </tr>
          <tr>
            <td width="45%"><asp:ListBox ID="lbLeft" runat="server" SelectionMode="Multiple" Width="260px" Height="260px"></asp:ListBox>
            </td>
            <td valign="center" align="middle">
            <p>
             <asp:Button ID="btnToAllRight" runat="server" Text=" &gt;&gt; "  OnClick="btnToAllRight_Click" />
            </p>
            <p>
             <asp:Button ID="btnToRight" runat="server" Text="  &gt;  "  OnClick="btnToRight_Click" />
           </p>
           <p>
            <asp:Button ID="btnToLeft" runat="server" Text="  &lt;  " OnClick="btnToLeft_Click" />
           </p>
           <p>
            <asp:Button ID="btnToAllLeft" runat="server" Text=" &lt;&lt; " OnClick="btnToAllLeft_Click" />
           </p>
           </td>
            <td width="45%"><asp:ListBox ID="lbRight" runat="server" SelectionMode="Multiple" Width="260px" Height="260px"></asp:ListBox> </td>
          </tr></table></td>
    </tr>
    </table>
    <table Width="98%" border="0" cellpadding="5" cellspacing="0" id="type1" style="display:none">
        <tr>
          <td align="right" class="title01" width="20%">格式文本：</td>
          <td>
              &nbsp;<asp:TextBox ID="cardcodes" runat="server" Height="151px" TextMode="MultiLine"
                  Width="379px"></asp:TextBox><br />输入商品货号：（每行一个）</td>
        </tr>
        </table>
    <table Width="98%" border="0" cellpadding="0" cellspacing="1">
    <tr>
      <td align="right" class="title01" width="20%">编辑方式：</td>
      <td align="left"><input id="Radio3" name="radioa" type="radio" value="0" checked runat="server" />
        逐个编辑
        <input id="Radio4" name="radioa" type="radio" value="1"  runat="server" />
        统一编辑 </td>
    </tr>
    <tr>
      <td style="width: 218px"> &nbsp;&nbsp;&nbsp;&nbsp;</td>
      <td height="40" align="left"><asp:ImageButton ID="ImageButton1" ImageUrl="../images/button07.gif" runat="server" OnClick="ImageButton1_Click1" /></td>
    </tr>
  </table>
  <br /></td>
</tr>
</table>
</center>
    </div>
    </form>
</body>
</html>
